import Vue from 'vue'
import Router from 'vue-router'
// 引入Ost子包下的注册组件
import UserRegister from '../../components/Ost/UserRegister.vue'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/register', component: UserRegister },
    { path: '/', redirect: '/register' }
  ]
})